package me.zhengjie.modules.system.excel.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;

@Data
public class ProductVo {

    @ExcelProperty(value = "分类" ,index = 0)
    private String type;

    @ExcelProperty(value = "条码" ,index = 1)
    private String barCode;

    @ExcelProperty(value = "品牌" ,index = 2)
    private String brand;

    @ExcelProperty(value = "产品编码" ,index = 3)
    private String productCode;

    @ExcelProperty(value = "产品名称" ,index = 4)
    private String productName;

    @ExcelProperty(value = "单位" ,index = 5)
    private String unit;

    @ExcelProperty(value = "重量(kg)" ,index = 6)
    private String weight;

    @ExcelProperty(value = "出厂价" ,index = 7)
    @ApiModelProperty(value = "出厂价")
    private BigDecimal factoryPrice;

    @ExcelProperty(value = "采购价" ,index = 8)
    private BigDecimal purchasePrice;

    @ExcelProperty(value = "最小库存" ,index = 9)
    private Integer minStock;

    @ExcelProperty(value = "最大库存" ,index = 10)
    private Integer maxStock;

    @ExcelProperty(value = "实际库存" ,index = 11)
    private Integer stock;
}
